package com.zyx.springmvcmsb.advanced.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @author zyx
 * @since 2021/10/6 17:04
 */
@ResponseStatus(reason = "名字错误", value = HttpStatus.NOT_ACCEPTABLE)
public class UsernameException extends RuntimeException {
}
